<html>

<head>
<link rel="stylesheet" type="text/css" href="../../doc.css" />
<style type="text/css">
.auto-style1 {
	border-style: solid;
	border-width: 1px;
}
</style>
</head>

<body>
<h1>Simulator Pass Two</h1>
<p><strong>Purpose:</strong> A class to run pass two of the simulator, 
simulating each line of code</p>
<hr>
<p><strong>Procedure Name:</strong> SimulatorPassTwo<br><strong>Description:</strong> Constructor to initialize data 
collections<br><strong>Specification reference codes:</strong><br><strong>Calling Sequence</strong><br><strong>Input 
Parameters: </strong>SimulatorPassOne data - all data passed in from the first pass<br>	<strong>Output Parameters:</strong> 
none<br><br><strong>Error Conditions Tested:</strong> none<br><strong>Error 
Messages Generated: </strong>none<br><strong>Original Author:</strong> Kevin<br><strong>Procedure Creation Date:</strong> 
5/22/2011<br><strong>Modification Log:</strong><br>
<table class="auto-style1" style="width: 100%">
	<tr>
		<td style="width: 74px"><strong>Who</strong></td>
		<td style="width: 99px"><strong>When</strong></td>
		<td style="width: 300px"><strong>Why</strong></td>
	</tr>
	<tr>
		<td style="width: 74px; height: 23px;">Kevin</td>
		<td style="width: 99px; height: 23px;">5/22/2011</td>
		<td style="width: 300px; height: 23px;">Created</td>
	</tr>
	
	<tr>
		<td style="width: 74px">&nbsp;</td>
		<td style="width: 99px">&nbsp;</td>
		<td style="width: 300px">&nbsp;</td>
	</tr>
</table>
<br><strong>Coding Standards Met:</strong> Signed-Kyle<br><strong>Testing Standards Met:</strong> Signed-Aditya<br></p>
<hr>
<p><strong>Procedure Name:</strong> Dump<br><strong>Description:</strong> Dump memory based on which option is 
selected<br><strong>Specification reference codes:</strong><br><strong>Calling Sequence</strong><br><strong>Input 
Parameters: </strong>int opt - option number (1, 2, or 3)<br>	<strong>Output Parameters:</strong> void<br><br><strong>Error Conditions 
Tested: </strong>none<br><strong>Error Messages Generated:</strong> none<br><strong>Original Author:</strong> Kevin<br><strong>Procedure Creation Date:</strong> 
5/22/2011<br><strong>Modification Log:</strong><br>
<table class="auto-style1" style="width: 100%">
	<tr>
		<td style="width: 74px"><strong>Who</strong></td>
		<td style="width: 99px"><strong>When</strong></td>
		<td style="width: 300px"><strong>Why</strong></td>
	</tr>
	<tr>
		<td style="width: 74px">Kevin</td>
		<td style="width: 99px">5/22/2011</td>
		<td style="width: 300px">Created</td>
	</tr>
	<tr>
		<td style="width: 74px">&nbsp;</td>
		<td style="width: 99px">&nbsp;</td>
		<td style="width: 300px">&nbsp;</td>
	</tr>
</table>
<br><strong>Coding Standards Met:</strong> Signed-Kyle<br><strong>Testing Standards Met:</strong> Signed-Aditya<br></p>
<hr>
<p><strong>Procedure Name:</strong> Run<br><strong>Description:</strong> Runs the second pass of the simulator, 
calling ExecuteLine<br><strong>Specification reference codes:</strong><br><strong>Calling Sequence</strong><br>	
<strong>Input Parameters:</strong> none<br>		<strong>Output Parameters:</strong> void<br>&nbsp;<br>
<strong>Error Conditions Tested:</strong> none<br><strong>Error Messages Generated:</strong> none<br>Original 
Author: Kevin<br><strong>Procedure Creation Date:</strong> 
5/22/2011<br><strong>Modification Log:</strong><br>
<table class="auto-style1" style="width: 100%">
	<tr>
		<td style="width: 74px"><strong>Who</strong></td>
		<td style="width: 99px"><strong>When</strong></td>
		<td style="width: 300px"><strong>Why</strong></td>
	</tr>
	<tr>
		<td style="width: 74px">Kevin</td>
		<td style="width: 99px">5/22/2011</td>
		<td style="width: 300px">Created</td>
	</tr>
	<tr>
		<td style="width: 74px">&nbsp;</td>
		<td style="width: 99px">&nbsp;</td>
		<td style="width: 300px">&nbsp;</td>
	</tr>
</table>
<br><br><strong>Coding Standards Met:</strong> Signed-Kyle<br><strong>Testing Standards Met:</strong> Signed-Aditya<br></p>
<hr>
<p><strong>Procedure Name:</strong> BeforeDebug<br><strong>Description:</strong> displays debug information before program begins simulation<br><strong>Specification reference codes:</strong><br><strong>Calling Sequence</strong><br>	
<strong>Input Parameters:</strong> none<br>		<strong>Output Parameters:</strong> void<br>&nbsp;<br>
<strong>Error Conditions Tested:</strong> none<br><strong>Error Messages Generated:</strong> none<br>Original 
Author: Kevin<br><strong>Procedure Creation Date:</strong> 
5/22/2011<br><strong>Modification Log:</strong><br>
<table class="auto-style1" style="width: 100%">
	<tr>
		<td style="width: 74px"><strong>Who</strong></td>
		<td style="width: 99px"><strong>When</strong></td>
		<td style="width: 300px"><strong>Why</strong></td>
	</tr>
	<tr>
		<td style="width: 74px">Kevin</td>
		<td style="width: 99px">5/22/2011</td>
		<td style="width: 300px">Created</td>
	</tr>
	<tr>
		<td style="width: 74px">&nbsp;</td>
		<td style="width: 99px">&nbsp;</td>
		<td style="width: 300px">&nbsp;</td>
	</tr>
</table>
<br><br><strong>Coding Standards Met:</strong> Signed-Kyle<br><strong>Testing Standards Met:</strong> Signed-Aditya<br></p>
<hr>
<p><strong>Procedure Name:</strong> AfterDebug<br><strong>Description:</strong> displays debug information after program ends simulation<br><strong>Specification reference codes:</strong><br><strong>Calling Sequence</strong><br>	
<strong>Input Parameters:</strong> none<br>		<strong>Output Parameters:</strong> void<br>&nbsp;<br>
<strong>Error Conditions Tested:</strong> none<br><strong>Error Messages Generated:</strong> none<br>Original 
Author: Kevin<br><strong>Procedure Creation Date:</strong> 
5/22/2011<br><strong>Modification Log:</strong><br>
<table class="auto-style1" style="width: 100%">
	<tr>
		<td style="width: 74px"><strong>Who</strong></td>
		<td style="width: 99px"><strong>When</strong></td>
		<td style="width: 300px"><strong>Why</strong></td>
	</tr>
	<tr>
		<td style="width: 74px">Kevin</td>
		<td style="width: 99px">5/22/2011</td>
		<td style="width: 300px">Created</td>
	</tr>
	<tr>
		<td style="width: 74px">&nbsp;</td>
		<td style="width: 99px">&nbsp;</td>
		<td style="width: 300px">&nbsp;</td>
	</tr>
</table>
<br><br><strong>Coding Standards Met:</strong> Signed-Kyle<br><strong>Testing Standards Met:</strong> Signed-Aditya<br></p>
<hr>
<p><strong>Procedure Name:</strong> ExecuteLine<br><strong>Description:</strong> simulates a line of code.<br><strong>Specification reference codes:</strong><br><strong>Calling Sequence</strong><br>	
<strong>Input Parameters:</strong> FileData line - data to be interpreted<br><strong>Output Parameters:</strong> 
void<br><br><strong>Error Conditions Tested:</strong> none<br><strong>Error 
Messages Generated: </strong>none<br>
<strong>Original Author:</strong> Kevin<br><strong>Procedure Creation Date:</strong> 5/22/2011<br><strong>Modification Log:</strong><table class="auto-style1" style="width: 100%">
	<tr>
		<td style="width: 74px"><strong>Who</strong></td>
		<td style="width: 99px"><strong>When</strong></td>
		<td style="width: 300px"><strong>Why</strong></td>
	</tr>
	<tr>
		<td style="width: 74px">Kevin</td>
		<td style="width: 99px">5/22/2001</td>
		<td style="width: 300px">Created</td>
	</tr>
	<tr>
		<td style="width: 74px">&nbsp;</td>
		<td style="width: 99px">&nbsp;</td>
		<td style="width: 300px">&nbsp;</td>
	</tr>
</table>
<br><br><strong>Coding Standards Met:</strong> Signed-Kyle<br><strong>Testing Standards Met:</strong> Signed-Aditya<br></p>
<hr>
<p><strong>Procedure Name:</strong> DumpStacks<br><strong>Description:</strong> display a dump of the stack<br><strong>Specification reference codes:</strong><br><strong>Calling Sequence</strong><br>	<strong>Input Parameters:</strong> 
none<br>	<strong>Output Parameters:</strong> void<br><br><strong>Error Conditions Tested:</strong> 
none<br><strong>Error Messages Generated:</strong> none<br><strong>Original Author:</strong> Kevin<br><strong>Procedure Creation Date:</strong> 
5/22/2011<br><strong>Modification Log:</strong><br>
<table class="auto-style1" style="width: 100%">
	<tr>
		<td style="width: 74px"><strong>Who</strong></td>
		<td style="width: 99px"><strong>When</strong></td>
		<td style="width: 300px"><strong>Why</strong></td>
	</tr>
	<tr>
		<td style="width: 74px">Kevin</td>
		<td style="width: 99px">5/22/2011</td>
		<td style="width: 300px">Created</td>
	</tr>
	<tr>
		<td style="width: 74px">&nbsp;</td>
		<td style="width: 99px">&nbsp;</td>
		<td style="width: 300px">&nbsp;</td>
	</tr>
</table>
<br><br><strong>Coding Standards Met:</strong> Signed-Kyle<br><strong>Testing Standards Met:</strong> Signed-Aditya<br>
</p>
<hr>
<p><strong>Procedure Name:</strong> DumpMemory<br><strong>Description:</strong> displays a dump of memory.<br><strong>Specification reference codes:</strong><br><strong>Calling Sequence</strong><br>	
<strong>Input Parameters:</strong> none<br>		<strong>Output Parameters:</strong> void<br>&nbsp;<br>
<strong>Error Conditions Tested:</strong> none<br><strong>Error Messages Generated:</strong> none<br>Original 
Author: Kevin<br><strong>Procedure Creation Date:</strong> 
5/22/2011<br><strong>Modification Log:</strong><br>
<table class="auto-style1" style="width: 100%">
	<tr>
		<td style="width: 74px"><strong>Who</strong></td>
		<td style="width: 99px"><strong>When</strong></td>
		<td style="width: 300px"><strong>Why</strong></td>
	</tr>
	<tr>
		<td style="width: 74px">Kevin</td>
		<td style="width: 99px">5/22/2011</td>
		<td style="width: 300px">Created</td>
	</tr>
	<tr>
		<td style="width: 74px">&nbsp;</td>
		<td style="width: 99px">&nbsp;</td>
		<td style="width: 300px">&nbsp;</td>
	</tr>
</table>
<br><br><strong>Coding Standards Met:</strong> Signed-Kyle<br><strong>Testing Standards Met:</strong> Signed-Aditya<br></p>
<hr>
<p><strong>Procedure Name:</strong> DecodeLine<br><strong>Description:</strong> converts binary encoding back into a usable instruction.<br><strong>Specification reference codes:</strong><br><strong>Calling Sequence</strong><br>	
<strong>Input Parameters:</strong> String code - line to be converted<br><strong>Output Parameters:</strong> 
void<br><br><strong>Error Conditions Tested:</strong> none<br><strong>Error 
Messages Generated: </strong>none<br>
<strong>Original Author:</strong> Kevin<br><strong>Procedure Creation Date:</strong> 5/22/2011<br><strong>Modification Log:</strong><table class="auto-style1" style="width: 100%">
	<tr>
		<td style="width: 74px"><strong>Who</strong></td>
		<td style="width: 99px"><strong>When</strong></td>
		<td style="width: 300px"><strong>Why</strong></td>
	</tr>
	<tr>
		<td style="width: 74px">Kevin</td>
		<td style="width: 99px">5/22/2001</td>
		<td style="width: 300px">Created</td>
	</tr>
	<tr>
		<td style="width: 74px">&nbsp;</td>
		<td style="width: 99px">&nbsp;</td>
		<td style="width: 300px">&nbsp;</td>
	</tr>
</table>
<br><br><strong>Coding Standards Met:</strong> Signed-Kyle<br><strong>Testing Standards Met:</strong> Signed-Aditya<br></p>
<hr>
<p><strong>Procedure Name:</strong> ExecuteCntl<br><strong>Description:</strong> simulates a CNTL instruction<br><strong>Specification reference codes:</strong><br><strong>Calling Sequence</strong><br>	
<strong>Input Parameters:</strong> Process current - data to be simulated<br><strong>Output Parameters:</strong> 
void<br><br><strong>Error Conditions Tested:</strong> none<br><strong>Error 
Messages Generated: </strong>none<br>
<strong>Original Author:</strong> Kevin<br><strong>Procedure Creation Date:</strong> 5/22/2011<br><strong>Modification Log:</strong><table class="auto-style1" style="width: 100%">
	<tr>
		<td style="width: 74px"><strong>Who</strong></td>
		<td style="width: 99px"><strong>When</strong></td>
		<td style="width: 300px"><strong>Why</strong></td>
	</tr>
	<tr>
		<td style="width: 74px">Kevin</td>
		<td style="width: 99px">5/22/2001</td>
		<td style="width: 300px">Created</td>
	</tr>
	<tr>
		<td style="width: 74px">&nbsp;</td>
		<td style="width: 99px">&nbsp;</td>
		<td style="width: 300px">&nbsp;</td>
	</tr>
</table>
<br><br><strong>Coding Standards Met:</strong> Signed-Kyle<br><strong>Testing Standards Met:</strong> Signed-Aditya<br></p>
<hr>
<p><strong>Procedure Name:</strong> ExecuteStack<br><strong>Description:</strong> simulates a STACK instruction<br><strong>Specification reference codes:</strong><br><strong>Calling Sequence</strong><br>	
<strong>Input Parameters:</strong> Process current - data to be simulated<br><strong>Output Parameters:</strong> 
void<br><br><strong>Error Conditions Tested:</strong> none<br><strong>Error 
Messages Generated: </strong>none<br>
<strong>Original Author:</strong> Kevin<br><strong>Procedure Creation Date:</strong> 5/22/2011<br><strong>Modification Log:</strong><table class="auto-style1" style="width: 100%">
	<tr>
		<td style="width: 74px"><strong>Who</strong></td>
		<td style="width: 99px"><strong>When</strong></td>
		<td style="width: 300px"><strong>Why</strong></td>
	</tr>
	<tr>
		<td style="width: 74px">Kevin</td>
		<td style="width: 99px">5/22/2001</td>
		<td style="width: 300px">Created</td>
	</tr>
	<tr>
		<td style="width: 74px">&nbsp;</td>
		<td style="width: 99px">&nbsp;</td>
		<td style="width: 300px">&nbsp;</td>
	</tr>
</table>
<br><br><strong>Coding Standards Met:</strong> Signed-Kyle<br><strong>Testing Standards Met:</strong> Signed-Aditya<br></p>
<hr>
<p><strong>Procedure Name:</strong> ExecuteJump<br><strong>Description:</strong> simulates a JUMP instruction<br><strong>Specification reference codes:</strong><br><strong>Calling Sequence</strong><br>	
<strong>Input Parameters:</strong> Process current - data to be simulated<br><strong>Output Parameters:</strong> 
void<br><br><strong>Error Conditions Tested:</strong> none<br><strong>Error 
Messages Generated: </strong>none<br>
<strong>Original Author:</strong> Kevin<br><strong>Procedure Creation Date:</strong> 5/22/2011<br><strong>Modification Log:</strong><table class="auto-style1" style="width: 100%">
	<tr>
		<td style="width: 74px"><strong>Who</strong></td>
		<td style="width: 99px"><strong>When</strong></td>
		<td style="width: 300px"><strong>Why</strong></td>
	</tr>
	<tr>
		<td style="width: 74px">Kevin</td>
		<td style="width: 99px">5/22/2001</td>
		<td style="width: 300px">Created</td>
	</tr>
	<tr>
		<td style="width: 74px">&nbsp;</td>
		<td style="width: 99px">&nbsp;</td>
		<td style="width: 300px">&nbsp;</td>
	</tr>
</table>
<br><br><strong>Coding Standards Met:</strong> Signed-Kyle<br><strong>Testing Standards Met:</strong> Signed-Aditya<br></p>
<hr>
<p><strong>Procedure Name:</strong> ExecuteSoper<br><strong>Description:</strong> simulates a SOPER instruction<br><strong>Specification reference codes:</strong><br><strong>Calling Sequence</strong><br>	
<strong>Input Parameters:</strong> Process current - data to be simulated<br><strong>Output Parameters:</strong> 
void<br><br><strong>Error Conditions Tested:</strong> none<br><strong>Error 
Messages Generated: </strong>none<br>
<strong>Original Author:</strong> Kevin<br><strong>Procedure Creation Date:</strong> 5/22/2011<br><strong>Modification Log:</strong><table class="auto-style1" style="width: 100%">
	<tr>
		<td style="width: 74px"><strong>Who</strong></td>
		<td style="width: 99px"><strong>When</strong></td>
		<td style="width: 300px"><strong>Why</strong></td>
	</tr>
	<tr>
		<td style="width: 74px">Kevin</td>
		<td style="width: 99px">5/22/2001</td>
		<td style="width: 300px">Created</td>
	</tr>
	<tr>
		<td style="width: 74px">&nbsp;</td>
		<td style="width: 99px">&nbsp;</td>
		<td style="width: 300px">&nbsp;</td>
	</tr>
</table>
<br><br><strong>Coding Standards Met:</strong> Signed-Kyle<br><strong>Testing Standards Met:</strong> Signed-Aditya<br></p>
<hr>
<p><strong>Procedure Name:</strong> ExecuteMoper<br><strong>Description:</strong> simulates a MOPER instruction<br><strong>Specification reference codes:</strong><br><strong>Calling Sequence</strong><br>	
<strong>Input Parameters:</strong> Process current - data to be simulated<br><strong>Output Parameters:</strong> 
void<br><br><strong>Error Conditions Tested:</strong> none<br><strong>Error 
Messages Generated: </strong>none<br>
<strong>Original Author:</strong> Kevin<br><strong>Procedure Creation Date:</strong> 5/22/2011<br><strong>Modification Log:</strong><table class="auto-style1" style="width: 100%">
	<tr>
		<td style="width: 74px"><strong>Who</strong></td>
		<td style="width: 99px"><strong>When</strong></td>
		<td style="width: 300px"><strong>Why</strong></td>
	</tr>
	<tr>
		<td style="width: 74px">Kevin</td>
		<td style="width: 99px">5/22/2001</td>
		<td style="width: 300px">Created</td>
	</tr>
	<tr>
		<td style="width: 74px">&nbsp;</td>
		<td style="width: 99px">&nbsp;</td>
		<td style="width: 300px">&nbsp;</td>
	</tr>
</table>
<br><br><strong>Coding Standards Met:</strong> Signed-Kyle<br><strong>Testing Standards Met:</strong> Signed-Aditya<br></p>
<hr>
</body>
</html>
